ARC dependent features

Contents|Index|Previous|Next
ARC dependent features

The following documentation discusses the features pertinent to the ARC processor regarding the GNU assembler.

- ARC command-line option
- ARC floating point
- ARC machine directives

ARC command-line options
The ARC chip family includes several successive levels (or other variants) of chip, using the same core instruction set, but including a few additional instructions at each level.
By default, `as` assumes the core instruction set (ARC base). The `.cpu` pseudo-op is intended to be used to select the variant.

`-mbig-endian`
`-mlittle-endian`

Any ARC configuration of `as` can select big-endian or little-endian output at run time (unlike most other GNU development tools, which must be configured for one or the other). Use `-mbig-endian` to select big-endian output, and `-mlittle-endian` for little-endian.

ARC floating point
The ARC processor family currently does not have hardware floating point support. Software floating point support is provided by `gcc` and uses IEEE floating-point numbers.
ARC machine directives
The ARC version of `as` supports the following additional machine directive.

`.cpu`

This must be followed by the desired CPU. The ARC is intended to be customizable, `.cpu` is used to select the desired variant (although, currently, there are none).

Top|Contents|Index|Previous|Next